3796dcdda359f24634446044cc2cb4365826a073,portal-impl/test/integration/com/liferay/portlet/assetpublisher/util/AssetPublisherServiceTest.java,AssetPublisherServiceTest,testGetAssetEntriesFilteredByCategories,#,82
Before Change
addVocabulary();
long[] allCategoryIds =
new long[] {_categoryIds[0], _categoryIds[1], _categoryIds[2]};
_expectedAssetEntries = addAssetEntries(
allCategoryIds, _NO_TAG_NAMES, 2, true);
List<AssetEntry> assetEntries = AssetPublisherUtil.getAssetEntries(
new MockPortletRequest(), new MockPortletPreferences(),
After Change
addVocabulary();
long[] allAssetCategoryIds =
{_assetCategoryIds[0], _assetCategoryIds[1], _assetCategoryIds[2]};
List<AssetEntry> expectedAssetEntries = addAssetEntries(
allAssetCategoryIds, _NO_ASSET_TAG_NAMES, 2, true);
List<AssetEntry> assetEntries = AssetPublisherUtil.getAssetEntries(
new MockPortletRequest(), new MockPortletPreferences(),